<?php $this->headTitle('Sản phẩm yêu thích',Zend_View_Helper_Placeholder_Container_Abstract::PREPEND);?>
<?php

$this->layout()->aside = $this->partial('layout.aside.right/account.phtml');
?>

<section class="fluid50" style ="width:100%;">
<div class="content">
        <style type="text/css">
            .fav{
	            width: 100%;
            	height:300px;
            	overflow-y:scroll; 
            }
            .boxfav{
	            width: 110px;
            	height: 110px;
            	margin:5px;
            	float:left;
            	position: relative;
            }
            .boxfav > .itemlike{
	            width: 100%;
            	display: block;
            	border:1px solid #f2f2f2;
            	border-radius:10px;
            }
            .boxfav > .minilike {
	            position: absolute;
            	top: 5px;
            	left: 90px;
            }
            .boxfav input{
	            position: absolute;
            	top: 5px;
            	left:5px;
            }
        </style>
		<h2>Sản phẩm yêu thích</h2>
		
		
		<?php 
		    if(isset($this->like) and !empty($this->like)):
		?>
		<br>
		    <div>
		        <a class="button" href="#" id='checkall' style="background-color: rgb(255, 255, 255);">Chọn hết</a>
		        <a class="button" href="#" id='removeall'style="background-color: rgb(255, 255, 255);">Bỏ chọn</a>
		        <a class="button" href="#" id='dislikeall'style="background-color: rgb(255, 255, 255);">Bỏ thích</a>
		    </div>
		<br>
		<div class='fav'>
		    <form action="" method="post">
		         <?php echo $this->partialLoop('view.helper/item.like.phtml',$this->like)?>
		    </form>
		    <div style="clear:both;"></div>
		</div>
		<?php else: ?>
		<p>Bạn chưa có sản phẩm yêu thích nào !</p>
		<?php endif;?>
</div>
</section>
